package light.head.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

/**
 * 帐号类型相关操作对应信息
 * @author Jian
 */
@Entity
@Table
@IdClass(OrganTypeHandlePK.class)
public class OrganTypeHandle implements Serializable {

	private static final long serialVersionUID = -5648773231952026923L;
	
	private Integer otc;							// 机构类型编号
	private String hc;								// 操作编号

	@Id
	@Column
	public Integer getOtc() {
		return otc;
	}
	
	@Id
	@Column
	public String getHc() {
		return hc;
	}

	public void setOtc(Integer otc) {
		this.otc = otc;
	}
	public void setHc(String hc) {
		this.hc = hc;
	}
}
